<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@page import="java.security.Principal"%>
<%@page import="com.conversationboard.config.Configuration"%>
<%@page import="com.conversationboard.model.StyleSheets"%>
<%@page import="com.conversationboard.view.MainMenu"%>

<% Principal principal = request.getUserPrincipal(); %>

<html>

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<title>Create Interest Group</title>
	<link rel="stylesheet"title="Conversation Board" type="text/css" href="<%=Configuration.getInstance().getRoot()%>/Stylesheets/<%=StyleSheets.getStyleSheetFileName(request.getCookies())%>">
</head>

<body>

	<%= MainMenu.display(principal) %>

	<div class="headingblock">
		<h1>Create an Interest Group</h1>
	</div>

	<div class="mainblock">
	
	
		<form class="formsection" action="<%=Configuration.getInstance().getRoot()%>/Admin/AdminCreateInterestGroupControllerServlet" method="post">
		
			<p>Please enter the details of your interest group and a list of members' email addresses:</p>

		 	<label for="name"><strong>Interest Group Name:</strong></label>
		 	<input name="name" class="smalltextbox" type="text" size=100 /><br /><br />
		 	<label for="description"><strong>Interest Group Description:</strong></label>
		 	<input name="description" class="smalltextbox" type="text" size=100 /><br /><br />

			<p>Private interest groups do not show up in administration lists, except for the creator of that group.</p>
			<label for="checkbox">Private Interest Group:</label>
			<input type="checkbox" name="checkbox" /><br /><br /><br />
		 	
		 	<label for="members"><strong>Members' Email Addresses: (list separated with new lines)</strong></label>
		 	<textarea class="textbox" name="members" id="members" rows=10 cols=800></textarea>
		
			<br /><br />
		 	<input type="submit" value="Create Interest Group" />
		
		</form>

		
	</div>

	<!--<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>-->
	<!--<script type="text/javascript">_uacct = "UA-1148679-1";urchinTracker();</script>--> 

</body>
</html>